Gas concentration measuring apparatus designed to minimize error component contained in output

ABSTRACT

A gas concentration measuring apparatus which has a gas sensor designed to measure, for example, the concentrations of O 2  and HOx contained in exhaust emissions of an automotive engine is provided. The apparatus includes a signal processing circuit which converts a current signal outputted from the gas sensor as a function of the concentration of either of O 2  and HOx into a voltage signal. The gas sensor and the signal processing circuit are connected electrically through a conductor. The conductor has a length which is determined as a function of a level of the current signal outputted from the gas sensor. The weaker the level of the current signal is, the shorter the length of the conductor. This minimizes addition of electrical noises to the current signal outputted from the gas sensor.

BACKGROUND OF THE INVENTION

[0001] 1. Technical Field of the Invention

[0002] The present invention relates generally to a gas concentration measuring apparatus for measuring the concentration of gases which may be employed in an air-fuel ratio control system for automotive vehicles, and more particularly to a gas concentration measuring apparatus designed to minimize an error component contained in an output thereof.

[0003] 2. Background Art

[0004] Recently, NOx sensors designed to measure the concentration of nitrogen oxide (NOx) contained in exhaust emissions of automotive engines are proposed and put into practical use.

[0005] As one of such NOx sensors, a gas sensor is known which is designed to measure the concentrations of NOx and O₂ contained in exhaust gasses of the engine simultaneously. This type of gas sensor includes a pump cell for decomposing or ionizing oxygen molecules contained in exhaust gasses to measure the concentration of O₂ and a sensor cell for decomposing NOx in the oxygen-decomposed exhaust gasses to measure the concentration of NOx. The measurement of the concentration of each of NOx and O₂ is achieved by applying a given voltage to a corresponding one of the pump cell and the sensor cell to induce flow of current as a function of one of the concentrations of NOx and O₂. The current is outputted from the gas sensor and converted into a voltage signal which is, in turn, used in, for example, an engine control unit of the vehicle.

[0006] The above gas sensor, however, has the drawback in that the amount of current flowing through the cell sensor as a function of the concentration of NOx is extremely small, so that it apt to interfere with electrical noises, resulting in a failure in measuring the concentration of NOx accurately. Specifically, when the concentration of NOx is within 0 to 2000 ppm, a current output from the sensor cell is as little as 5 to 10 μA. Therefore, in the case where the gas sensor is used in an engine control system of an automotive vehicle, signal outputs from peripheral electrical devices are added to an output of the gas sensor as noises which will produce an error in measuring the concentration of NOx.

SUMMARY OF THE INVENTION

[0007] It is therefore a principal object of the present invention to avoid the disadvantages of the prior art.

[0008] It is another object of the present invention to provide a gas concentration measuring apparatus designed to minimize an error component contained in an output of the apparatus.

[0009] According to one aspect of the invention, there is provided a gas concentration measuring apparatus. The gas concentration measuring apparatus includes: (a) a gas concentration sensor outputting a signal as a function of concentration of a given component of gasses; (b) a signal processing circuit processing the signal outputted from the gas concentration sensor to produce a voltage signal indicative of the concentration of the given component of the gasses; and (c) a conductor electrically connecting the gas concentration sensor and the signal processing circuit for transmission of the signal. The conductor has a length which is determined as a function of a level of the signal outputted from the gas concentration sensor. The weaker the level of the signal is, the shorter the length of the conductor.

[0010] In the preferred mode of the invention, a connector is provided which connects the gas concentration sensor with an external device. The connector has disposed therein the signal processing circuit.

[0011] An impedance measuring circuit is provided which measures the impedance of a sensor element of the gas concentration sensor. The impedance measuring circuit is integrated in a single unit together with the signal processing circuit.

[0012] A heater and a heater control circuit are provided. The heater heats up a sensor element of the gas concentration sensor. The heater control circuit controls a power supply to the heater. The heater control circuit is integrated in a single unit together with the signal processing circuit.

[0013] The gas concentration measuring apparatus may be mounted in a vehicle to measure, for example, the concentrations of O₂ and NOx contained in exhaust emissions of a combustion engine for use in an air-fuel ratio control. The weaker the level of the signal is, the shorter a distance between the gas concentration sensor and the signal processing circuit for minimizing addition of electrical noises produced by electrical devices mounted in the vehicle to the signal outputted from the gas concentration sensor.

[0014] The gas concentration sensor includes a first cell responsive to application of a voltage to discharge oxygen contained in the gasses outside the gas concentration sensor, producing a first electric current as a function of concentration of the discharged oxygen and a second cell responsive to application of a voltage to produce a second electric current as a function of concentration of a specified gas component contained in the gasses from which the oxygen is discharged by the first cell.

[0015] The signal processing circuit has a function of compensating for a unit-to-unit variation in characteristic of the gas concentration sensor.

[0016] The signal processing circuit corrects an output characteristic of the gas concentration sensor so as to agree with a desired one.

[0017] The impedance measuring circuit has a function of compensating for a unit-to-unit variation in characteristic of the gas concentration sensor.

[0018] The impedance measuring circuit produces an impedance signal indicative of the impedance of the sensor element of the gas concentration sensor and corrects the impedance signal so as to eliminate a variation in the impedance signal caused by the unit-to-unit variation in characteristic of the gas concentration sensor.

[0019] The heater control circuit connects with the heater through a power supply conductor for supplying the power to the heater. The heater control circuit has a function of minimizing an error component caused by a resistance value of the power supply conductor.

[0020] The signal processing circuit, the impedance measuring circuit, and the heater control circuit are formed on a bare chip mounted on a ceramic substrate.

[0021] According to another aspect of the invention, there is provided a gas concentration measuring apparatus which comprises: (a) a gas concentration sensor outputting a signal as a function of concentration of a given component of gasses; (b) a signal processing circuit processing the signal outputted from the gas concentration sensor to provide a voltage signal indicative of the concentration of the given component of the gasses; and (c) a connector having disposed therein the signal processing circuit, the connector having a first end coupled to the signal processing circuit and a second end providing electrical connection with an external device to transmit the voltage signal to the external device.

BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The present invention will be understood more fully from the detailed description given hereinbelow and from the accompanying drawings of the preferred embodiments of the invention, which, however, should not be taken to limit the invention to the specific embodiments but are for the purpose of explanation and understanding only.

[0023] In the drawings:

[0024]FIG. 1 is a block diagram which shows a gas concentration measuring apparatus according to the invention;

[0025]FIG. 2 is an illustration which shows structures of a gas concentration sensor and a sensor control circuit;

[0026]FIG. 3 is a sectional view which shows an internal structure of a gas concentration sensor;

[0027] FIGS. 4(a), 4(b), and 4(c) are sectional views which show a sequence of gas measurement operations of a gas concentration sensor;

[0028]FIG. 5 is a graph which shows a relation between a pump cell current produced by a pump cell and a voltage applied to the pump cell;

[0029]FIG. 6 is a graph which shows a relation between a sensor cell current flowing through a sensor cell and a voltage applied to the sensor cell;

[0030]FIG. 7 is a circuit diagram which shows structures of a sensor control circuit and a gas concentration sensor;

[0031]FIG. 8 is a flowchart of a program performed to control voltages applied to a pump cell and a sensor cell of a gas concentration sensor;

[0032]FIG. 9 is a flowchart of a program performed to measure the impedance of a sensor element of a gas concentration sensor;

[0033]FIG. 10 is a time chart which shows a relation among an output voltage Vs, a terminal voltage Vc, and a terminal voltage Ve;

[0034]FIG. 11 is a perspective view which shows a gas concentration sensor and a connector in which a sensor control circuit and a heater control circuit are disposed;

[0035]FIG. 12 is a graph which shows a relation of levels of signal outputs from a cup-shaped A/F sensor, a laminated A/F sensor, and a NOx sensor to the length of an output line extending from each of the sensors;

[0036]FIG. 13 is a graph which shows a relation between an actual output of a gas concentration sensor and a correct one; and

[0037]FIG. 14 is a block diagram which shows a gas concentration measuring apparatus in which output correction circuits are disposed.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0038] Referring now to the drawings, wherein like numbers refer to like parts in several views, particularly to FIG. 1, there is shown a gas concentration measuring apparatus according to the invention which is used with, as one example, an automotive engine control system designed to control the quantity of fuel injected into an internal combustion engine as a function of an output of the gas concentration measuring apparatus under feedback (F/B) control to bring the air-fuel (A/F) ratio into agreement with a target value and to diagnose the deterioration of a catalytic converter installed in an exhaust pipe of the engine.

[0039] The gas concentration measuring apparatus uses a composite gas concentration sensor 100 capable of measuring concentrations of oxygen (O₂) and nitrogen oxide (NOx) contained in exhaust gasses of a multi-cylinder four-cycle engine simultaneously.

[0040] A fuel injector 12 is installed in an intake pipe 11 to supply the fuel to the engine 10. The gas concentration sensor 100 is installed in an exhaust pipe 13 and outputs sensor signals indicative of the concentration of O₂ and NOx.

[0041] The gas concentration sensor 100 has, as shown in FIG. 3, a two-cell structure designed to measure the concentrations of O₂ and NOx contained in exhaust gasses of the engine 10 simultaneously. The gas concentration sensor 100 is made of a lamination of the pump cell 110, the sensor cell 120, a porous diffused layer 101, an air duct 102, an insulating layer 104, and a heater 103. The gas concentration sensor 100 is installed at the right side thereof, as viewed in the drawing, on the exhaust pipe 13 of the engine so as to expose upper, lower, and left surfaces to exhaust gasses.

[0042] The pump cell 110 is disposed on the porous diffused layer 101 so that it is exposed to the exhaust gasses. A first pump cell electrode 111 is mounted on the upper surface of the pump cell 110. A second pump cell electrode 112 is mounted on the lower surface of the pump cell 110 facing the porous diffused layer 101. The sensor cell 120 is interposed between the porous diffused layer 101 and the air duct 102. A first sensor cell electrode 121 is attached to an upper surface of the sensor cell 120 facing the porous diffused layer 101. A second sensor cell electrode 122 is attached to a lower surface of the sensor cell 120 facing the air duct 102. The exhaust gasses enters the porous diffused layer 101 from the left side thereof, as viewed in the drawing, and flow in the right direction.

[0043] The pump cell 110 and the sensor cell 120 are each formed with a solid electrolyte lamination such as an oxygen ion conductive oxide sintered member made from ZrO₂, HfO₂, ThO₂, and Bi₂O₃ in which CaO, MgO, Y₂O₃, and Yb₂O₃ are solved as fixing agents. The porous diffused layer 101 is made of a heat-resisting inorganic matter such as alumina, magnesia, silica, spinel, and mullite.

[0044] The first pump cell electrode 111 and the first and second sensor cell electrodes 121 and 122 are each made of a noble metal with a high catalytic activity such as platinum (Pt), while the second pump electrode 112 is made of a noble metal such as Au—Pt which is inactive with respect to NOx, that is, hardly decomposes NOx.

[0045] The heater 103 is embedded in the insulating layer 104. The insulating layer 104 defines the air duct 102 between itself and the sensor cell 120. The air duct 102 serves as a reference gas chamber into which the air is introduced. The air in the reference gas chamber is used as a reference gas in measuring the concentration of O₂. The insulating layer 104 is made of alumina. The heater 103 is made of platinum and cermet such as alumina and supplied with power from a heater control circuit, as will be described later in detail, to produce the heat for activating the whole of the gas concentration sensor 100.

[0046] In operation, when exhaust gasses containing O₂, NOx, CO₂, and H₂O, as shown in FIG. 4(a), enter the porous diffused layer 101 and are passing the pump cell 110, application of voltage to the pump cell 110 through the electrodes 111 and 112 causes the exhaust gasses to undergo decomposition. Since the second pump cell electrode 112 is, as described above, made of a noble metal which hardly decomposes NOx, only O₂ molecules contained in the exhaust gasses are decomposed or ionized by the pump cell 110, as shown in FIG. 4(b), which are, in turn, returned to the exhaust gasses from the first pump cell electrode 111, thereby causing a limiting current (also referred to as a pump cell current below) to flow through the pump cell 110 as a function of the concentration of O₂ in the exhaust gasses.

[0047] The O₂ molecules in the exhaust gasses are usually not decomposed by the pump cell 110 completely, so that residual O₂ molecules reach the sensor cell 120. The application of voltage to the sensor cell 120 causes the first sensor cell electrode 121 to decompose the O₂ and NOx molecules, as shown in FIG. 4(c), so that oxygen ions are discharged to the air duct 102 through the second sensor cell electrode 122, thereby causing a limiting current (also referred to as a sensor cell current or a NOx current below) to flow through the sensor cell 120 as a function of the concentration of NOx.

[0048]FIG. 5 shows a V-I relation between the voltage applied to the pump cell 110 and the pump cell current (mA) outputted from the pump cell 110. Straight segments of lines extending parallel to the abscissa axis indicate limiting current measurable ranges, respectively, which are shifted to the positive side of voltage applied to the pump cell 110 as the concentration of O₂ increases. Therefore, if the voltage applied to the pump cell 110 is kept constant when the concentration of O₂ is changing, the concentration of O₂ may exceed a corresponding one of the limiting current measurable ranges, resulting in difficulty in measuring the concentration of O₂ accurately. This also means that a large quantity of O₂ reaches the sensor cell 120 without being discharged from the pump cell 110, thereby causing an error component contained in the NOx current to be increased. In order to avoid this, the voltage to be applied to the pump cell 110 is regulated so that it changes at a rate equivalent to a rate of change in dc resistance component of the pump cell 110 as a function of the voltage applied to the pump cell 110. Specifically, the voltage to be applied to the pump cell 110 is changed along a broken line LX1 so that an output of the pump cell 110 may fall within any one of the limiting current measurable ranges at all the time regardless of the concentration of O₂ in the exhaust gasses.

[0049]FIG. 6 shows a V-I relation between the voltage applied to the sensor cell 120 and the sensor cell current (mA) outputted from the sensor cell 120. In a range where the concentration of NOx is zero (0) ppm, only a current, as indicated by A1, produced by the residual O₂ molecules flowing through the porous diffused layer 101 to the sensor cell 120 is outputted from the sensor cell 120 as the offset current. In a range where the concentration of NOx is greater than zero (0) and smaller than 1,000 ppm, a current, as indicated by A2, produced by the decomposition of NOx by the sensor cell 120 is also outputted from the sensor cell 120. If the voltage applied to the sensor cell 120 exceeds a certain upper limit, it will cause an additional current, as indicated by A3, produced by decomposition of H₂O to be also outputted from the sensor cell 120. Straight segments of lines extending parallel to the abscissa axis indicate limiting current measurable ranges, respectively, where it is possible to measure the NOx decomposition-produced current and which are slightly shifted to the positive side of voltage applied to the sensor cell 120 as the concentration of NOx increases. The voltage applied to the sensor cell 120 is, therefore, controlled along a broken line LX2 so that an output of the sensor cell 120 may fall within one of the limiting current measurable ranges at all the time regardless of the concentration of NOx in the exhaust gasses.

[0050] Returning back to FIG. 1, the gas concentration measuring apparatus also includes an electronic control unit (ECU) 20, a sensor control circuit 510, and a heater control circuit 520.

[0051] The ECU 20 receives an output of the gas concentration sensor 100 and engine operating data on engine speed, inlet air pressure, water temperature, and throttle opening measured by known sensors (not shown) to control the quantity of fuel supplied by the fuel injector 12 and the ignition timing through an ignition system 15. The ECU 20 also receives an O₂ concentration signal which is proportional to an air-fuel ratio of a mixture supplied to the engine 10 and which will also be referred to as an A/F signal and a NOx concentration signal outputted from the sensor control circuit 510.

[0052] The sensor control circuit 510 picks up the pump cell current and the sensor cell current from the gas concentration sensor 100 to calculate the concentrations of O₂ and NOx in the exhaust gasses and outputs signals indicative thereof to the ECU 20. The sensor control circuit 510 also picks up data on a sensor element temperature determined as a function of a sensor element resistance which indicates the active state of the gas concentration sensor 100 and outputs a signal indicative thereof to the ECU 20.

[0053] The heater control circuit 520, as will be described later in detail, receives the sensor element temperature data from the ECU 20 to control the power supply to the heater 103 for maintaining the gas concentration sensor 100 activated.

[0054] The sensor control circuit 510 and the heater control circuit 520 are built in a connector 300 connecting between the ECU 20 and the gas concentration sensor 100. Specifically, in a typical prior art structure, the sensor control circuit 510 and the heater control circuit 520 are disposed in the ECU 20, but in this embodiment, they are integrated near the gas concentration sensor 100. This is because there are three main reasons below:

[0055] 1 The sensor cell current flowing through the sensor cell is in the range of 0 to 2.5 μA, corresponding to a NOx concentration between 0 and 500 ppm. The detection of ±5 ppm requires a measurement accuracy better than ±25 nA. Such low currents are very sensitive to electromagnetic fields and noise if lowing in long wires.

[0056] 2 For the achievement of a resolution of 2.5 nA, the insulation resistance between wires of a circuit measuring the sensor cell current. This value is much higher than what can be realized within standard automotive wiring harness environment.

[0057] 3 The exact calibration for the NOx and O₂ characteristics (gain and offset) in serial production referring to piece to piece variation can be more easily achieved with a circuit which is nearest to the gas concentration sensor 100.

[0058] The oxygen concentration determining circuit 511, the NOx concentration determining circuit 512, the impedance measuring circuit 513, and the heater control circuit 520 may be formed on a single bare chip mounted on a ceramic substrate or a ceramic multi-layered board, thereby also resulting in a compact structure and greatly improved heat and vibration resistances. The sensor control circuit 510 connects electrically with the gas concentration sensor 100 through conductors 401. The heater control circuit 520 connects electrically with the heater 103 through a conductor 402.

[0059] The gas concentration sensor 100, as clearly shown in FIG. 11, has a cover 160 and a sensor element 150 disposed within the cover 160. The sensor element 150 consists of the pump cell 110, the sensor cell 120, and the heater 103, as shown in FIG. 3. The cover 160 has formed therein a plurality of pin holes through which the exhaust gasses flow into the cover 160. The connector 300 includes a casing 310 and a plug 320. The casing 310 has disposed therein the sensor control circuit 510 and the heater control circuit 520, thereby minimizing addition of external electric noises thereto.

[0060] The sensor control circuit 510 includes, as clearly shown in FIG. 2, an oxygen concentration determining circuit 511, a NOx concentration determining circuit 512, and a sensor element impedance measuring circuit 513.

[0061] The oxygen concentration determining circuit 511 is connected to the pump cell 110 of the gas concentration sensor 100 to measure an electric current or the pump cell current flowing through the pump cell 110 as a function of the concentration of O₂ and converts it into a voltage signal which is, in turn, outputted to the ECU 20. The oxygen concentration determining circuit 511 is also responsive to the pump cell current to adjust the voltage applied to the pump cell 110. Similarly, the NOx concentration determining circuit 512 is connected to the sensor cell 120 to measure an electric current or the sensor cell current flowing through the sensor cell 120 as a function of the concentration of NOx and converts it into a voltage signal which is, in turn, outputted to the ECU 20. The NOx concentration determining circuit 512 is also responsive to the sensor cell current to adjust the voltage applied to the sensor cell 120.

[0062] The sensor element impedance measuring circuit 513 measures the impedance of the sensor cell 120 or the pump cell 110 in a sweep method and outputs a signal indicative thereof to the heater control circuit 520.

[0063] The heater control circuit 520 is responsive to the signal indicative of the impedance outputted from the sensor cell impedance measuring circuit 513 to control the power supply to the heater 103. Japanese Patent Application No. 10-275521 and Japanese Patent First Publication No. 8-278279 teach heater control systems, disclosure of which is incorporated herein by reference.

[0064] The sensor control circuit 510 includes, as clearly shown in FIG. 7, a microcomputer 200 consisting of a CPU, A/D converters, and D/A converters. To the A/D converters A/D0 to A/D3, voltages appearing at terminals Vc, Ve, Vd, and Vb are inputted. From the D/A converters D/A1 and D/A0, a pump cell control voltage Vb and the sensor cell control voltage Vc are outputted. From the D/A converters D/A2 and D/A3, an O₂ concentration output and a NOx concentration output are provided.

[0065] Specifically, the pump cell control voltage Vb is inputted to an non-inverting input of the amplifier 211. An output of the amplifier 211 is connected to one end of the resistor 212 used in measuring the pump cell current Ip flowing through the pump cell 110 as a function of the concentration of O₂. The other end of the resistor 212 is connected to the first pump cell electrode 111 of the gas concentration sensor 100 and an inverting input of the amplifier 211, thereby controlling the voltage appearing at the first pump cell electrode 111 so as to be kept at the same potential as the pump cell control voltage Vb. The resistor 212 also connects at both ends to the A/D converters A/D2 and A/D3.

[0066] Therefore, application of the pump cell control voltage Vb to the pump cell 110 from the sensor control circuit 510 will cause the pump cell current Ip to flow through the resistor 212. The pump cell current Ip is given by the following equation:

Ip=(Vd−Vb)/R1

[0067] where Vb and Vd are voltages appearing at the terminals Vb and Vd across the resistor 212, and R1 is a resistance value of the resistor 212.

[0068] The microcomputer 200, the amplifier 211, and the resistor 212 constitute the oxygen concentration determining circuit 511.

[0069] The sensor cell control voltage Vc outputted from the D/A converter D/A0 is inputted to an non-inverting input of the amplifier 221 through a low-pass filter 230. The low-pass filter 230 may be a primary filter consisting of a capacitor. An output of the amplifier 221 is connected to one end of the resistor 222 used in measuring the sensor cell current Is flowing through the sensor cell 120 as a function of the concentration of NOx. The other end of the resistor 222 is connected to the second sensor cell electrode 122 of the gas concentration sensor 100 and an inverting input of the amplifier 221, thereby controlling the voltage appearing at the second sensor cell electrode 122 to be kept at the same potential as the sensor cell control voltage Vc. The resistor 222 connects at both ends thereof to the A/D converters A/D0 and A/D1 of the microcomputer 200.

[0070] Therefore, application of the sensor cell control voltage Vc to the sensor cell 120 from the sensor control circuit 510 will cause the sensor cell current Is to flow through the resistor 222. The sensor cell current Is is given by the following equation:

Is=(Ve−Vc)/R2

[0071] where Ve and Vc are voltages appearing at the terminals Ve and Vc across the resistor 222 and R2 is a resistance value of the resistor 222.

[0072] The microcomputer 200, the amplifier 221, and the resistor 222 constitute the NOx concentration determining circuit 512.

[0073] The microcomputer 200 measures an a.c. impedance of the sensor cell 120 using the sweep method. Specifically, the measurement of the AC impedance is achieved by changing the sensor cell control voltage Vc outputted from the D/A converter D/A0 instantaneously to apply an ac voltage to the sensor cell 120 which is blurred in the form of a sine wave through the low-pass filter 230. The frequency of the ac voltage is preferably higher than 10 KHz. The time constant of the low-pass filter 230 is in the order of 5 μs. The microcomputer 200 monitors changes in voltage Ve and Vc appearing at the terminals Ve and Vc through the A/D converters A/D1 and A/D0 to determine a change in voltage difference across the resistor 222 and a change in sensor current and calculates the a.c. impedance of the sensor cell 120 based on the changes in voltage difference and sensor current. The microcomputer 200 outputs a signal indicative of the a.c. impedance of the sensor call 120 to the heater control circuit 520 through a D/A converter or a serial communication port.

[0074] The microcomputer 200, the amplifier 221, and the resistor 222 constitute the sensor element impedance measuring circuit 513.

[0075] The microcomputer 200 outputs a control signal having a given duty factor through an I/O port to operate a MOSFET driver 521. The MOSFET driver 521 activates the MOSFET 522 to regulate the power supplied from a power source 523 such as a battery to the heater 103 under the PWM control. The microcomputer 200, the MOSFET driver 521, and the MOSFET 522 constitute the heater control circuit 520.

[0076]FIG. 8 shows a flowchart of a program or a sequence of logical steps performed by the CPU of the microcomputer 200 in the course of execution of a main program (not shown), for example, an air-fuel ratio control program to control the pump cell control voltage Vb and the sensor cell control voltage Vc inputted to the pump cell 110 and the sensor cell 120.

[0077] First, in step 101, the CPU picks up the voltage Vd which is developed at the terminal Vd (i.e., one end of the resistor 212) and converted into a digital signal through the A/D converter A/D2. Similarly, in steps 102, 103, and 104, the CPU picks up the voltages Vb, Ve, and Vc which are developed at the terminals Vc, Ve, and Vc and converted into digital signals through the A/D converters A/D3, A/D1, and A/D0, respectively.

[0078] After step 104, the routine proceeds to step 105 wherein the pump cell current Ip(=(Vd−Vb)/R1) is determined. The routine proceeds to step 106 wherein a target input voltage to be applied to the pump cell 110 is determined which corresponds to the pump cell current Ip on the voltage line LX1 shown in FIG. 5. The routine proceeds to step 107 wherein the target input voltage determined in step 106 is outputted as the pump cell control voltage Vb through the D/A converter D/A1.

[0079] The routine proceeds to step 108 wherein the sensor cell current Is(=(Ve−Vc)/R2) is determined. The routine proceeds to step 109 wherein a target input voltage to be applied to the sensor cell 120 is determined which corresponds to the sensor cell current Is on the voltage line LX2 shown in FIG. 6. The routine proceeds to step 110 wherein the target input voltage determined in step 109 is outputted as the sensor cell control voltage Vc through the D/A converter D/A0.

[0080] The routine proceeds to step 111 wherein the sensor cell current Is is outputted as indicating the concentration of NOx to the ECU 20 through, for example, a serial communication port. The routine proceeds to step 112 wherein the pump cell current Ip is outputted as indicating the concentration of O₂ to the ECU 20 through, for example, a serial communication port.

[0081]FIG. 9 shows a subprogram for determining the sensor element impedance which is executed by the CPU of the microcomputer 200 selectively at regular intervals of 128 ms in a start-up mode of engine operation and at regular intervals of 256 ms after the engine is warmed up.

[0082] After entering the program, the routine proceeds to steps 201 and 202 wherein the voltages Ve and Vc developed across the resistor 222 are picked up through the A/D converters A/D1 and A/D0, which will be referred to as Ve1 and Ve2 below.

[0083] The routine proceeds to step 203 wherein the sum of a sensor cell control voltage Vs now applied to the sensor cell 120 and an additional a.c. voltage ΔVs is outputted from the D/A converter D/A0, thereby causing, as shown in FIG. 10, the voltages Vc and Ve developed across the resistor 222 to change in the form of a sine wave according to the time constant of the low-pass filter 230.

[0084] The routine proceeds to steps 204 and 205 wherein the voltages appearing at the terminals Ve and Vc, which will be referred to as Ve2 and Vc2 below, are picked up 20 μs after the voltage applied to the resistor 222 is changed in step 203.

[0085] The routine proceeds to step 206 wherein the impedance Zac of the sensor cell 120 is calculated according to an equation below:

Zac=(Vc2−Vc1)/{(Ve2−Vc2)−(Ve1−Vc1)}

[0086] The routine proceeds to step 207 wherein a negative voltage Δ Vs2 is, as shown in FIG. 10, outputted from the D/A converter D/A0 temporarily to return the voltage applied to the sensor cell 120 to the voltage Vs.

[0087] An electric current flowing through the gas concentration sensor 100 as a function of the concentration of each of O₂ and NOx is, as described above, extremely weak, so that it apt to interfere with electrical noises produced from peripheral devices. Particularly, when the concentration of NOx is within 0 to 2000 ppm, the current outputted from the gas concentration sensor 100 as a function of the concentration of NOx is, as shown in FIG. 6, as little as 5 to 10 μA, thus resulting in a failure in measuring the concentration of NOx accurately. In order to avoid this problem, this embodiment specifies the length of the conductors 401 connecting between the gas concentration sensor 100 and the sensor control circuit 510 and the length of the conductor 402 connecting between the heater 103 and the heater control circuit 520 using a suitable relation, as shown in FIG. 12, between the length of a wire extending from each of a cup-shaped A/F sensor, a laminated A/F sensor, and a NOx sensor (i.e., the gas concentration sensor 100) and the level of an output signal thereof.

[0088] Generally, a gas concentration sensor such as the one in this embodiment designed to measure the concentration of NOx is required to shorten the length of wire extending therefrom as compared with the cup-shaped or laminated A/F sensors. Minimizing the interference of an output of the gas concentration sensor 100 with electric noises, thus, requires decreasing the length of the conductors 401 and 402. Further, in a case where the gas concentration sensor 100 is mounted in an automotive vehicle, various electric noises are added to an output of the gas concentration sensor 100. Therefore, the lower the level of the output of the gas concentration sensor 100, the better the decrease in distance between the gas concentration sensor 100 and the connector 300 to minimize the electric noises.

[0089] The sensor element of the gas concentration sensor 100 contains ceramic, so that it has characteristics of a flow of d.c. current, and a flow of a.c. current, and an output indicating the concentration of gas that undergo an inevitable unit-to-unit deviation in mass production, thus resulting in a decrease in production yield. Specifically, a small variation in production condition will cause the characteristics and the impedance of sensors to change. Some of the sensors whose characteristics are below standards are usually discarded, thus resulting in a decrease in production yield. For example, when the concentration of O₂ varies, as shown in FIG. 13, an actual output of the gas concentration sensor 100, as indicated by a solid line, is shifted from a correct one, as indicated by a broken line.

[0090] Additionally, the resistance value of the heater 103 is set small in order to speed up the activity of the gas concentration sensor 100. At the start of the control of the heater 103, it is usually difficult to measure the impedance of the gas concentration sensor 100 sensor accurately. The ECU 20 may, thus, monitor the power supplied to the heater 103 from the heater control circuit 520 (i.e., the heater voltage and current) and provide a power supply control signal to the heater control circuit 520. If, therefore, the resistance value of the conductor 402 (including resistance values of the heater 103 and the heater control circuit 520) differs among vehicles, it will cause the controllability of the heater 103 to vary, resulting in, for example, a decrease in heat produced by the heater 103 and an error in measuring the power supplied to the heater 103, which may lead to a delay in activating the gas concentration sensor 100 and overheating thereof.

[0091] In order to avoid the above problems, the sensor control circuit 510 of this embodiment is, as described later in detail, designed to adjust or correct the characteristics of the gas concentration sensor 100, and the heater control circuit 520 is designed to compensate for the error in measuring the power supplied to the heater 103 depending upon the resistance of the conductor 402.

[0092] Specifically, the correction of the characteristics of the gas concentration sensor 100 and the compensation of the error in measuring the power supplied to the heater 103 are accomplished with gain adjustment and offset adjustment in the sensor control circuit 510 and the heater control circuit 520 in manufacturing processes. Such adjustments may be achieved with

[0093] 1 installation of adjustment parts,

[0094] 2 installation and trimming of a thick-film resistor, or

[0095] 3 trimming a resistor on an IC chip in which the sensor control circuit 510 and the heater control circuit 520 are integrated.

[0096] As one example, correction circuit 531, 532, and 533, as shown in FIG. 14, may be connected to outputs of the oxygen concentration determining circuit 512, the NOx concentration determining circuit 512, and the impedance measuring circuit 513, respectively. Each of the correction circuits 531, 532, and 533 is made of a resistor such as a shunt which is trimmed to adjust a resistance value thereof so as to bring an actual output of a corresponding one of the oxygen concentration determining circuit 511, the NOx concentration determining circuit 512, and the impedance measuring circuit 533 into agreement with a correct or desired one.

[0097] Alternatively, a gain/offset adjustment map may be pre-stored in the microcomputer 200 which is used in calculating and adjusting a gain or an offset of the amplifiers 211 and 221 to bring an actual output of each of the oxygen concentration determining circuit 512, the NOx concentration determining circuit 512, and the impedance measuring circuit 533 into agreement with a correct or desired one. Instead of use of the gain/offset adjustment map, parameters used in calculating and adjusting the gain and offset may be inputted directly to the microcomputer 200 through an A/D converter.

[0098] In order to eliminate an error component contained in an output signal of the heater control circuit 520 indicating the amount of power supplied to the heater 103 due to the resistance of the conductor 402, a correction circuit 534, similar to one of the correction circuits 531, 532, and 533, may be built in the heater control circuit 520. Alternatively, the microcomputer 200 may calculate a gain or an offset of the heater control circuit 520 in the same manner as described above to bring the output signal into agreement with a correct one.

[0099] While the present invention has been disclosed in terms of the preferred embodiments in order to facilitate better understanding thereof, it should be appreciated that the invention can be embodied in various ways without departing from the principle of the invention. Therefore, the invention should be understood to include all possible embodiments and modifications to the shown embodiments which can be embodied without departing from the principle of the invention as set forth in the appended claims.

[0100] For example, only the NOx concentration determining circuit 512 which receives a weak electrical signal (i.e., the sensor cell current) from the gas concentration sensor 100 may be disposed within the connector 300 to shorten the distance to the gas concentration sensor 100 or the length of a conductor connecting between the NOx concentration determining circuit 512 and the gas concentration sensor 100 for minimizing addition of electrical noises. Additionally, any one of the oxygen concentration determining circuit 511, the impedance measuring circuit 513, and the heater control circuit 520 may also be disposed within the connector 300, thereby allowing the length of conductors between the circuits 511, 512, 513, and 520 and the gas concentration sensor 100 to be determined selectively, thus resulting in an increase in freedom of design.

[0101] The first sensor cell electrode 121 and the second pump cell electrode 112 are, as clearly shown in FIG. 7, connected to ground, but may alternatively be connected to a common terminal which is kept at a positive potential. This allows a negative electric current to flow through each of the pump cell 110 and the sensor cell 120. Thus, even when a rich gas which usually reduces a flow of the negative current and changes a balance of concentration of O₂ in the porous diffused layer 101 enters the gas concentration sensor 100, it becomes possible to keep the concentration of gas, for example, O₂ in the porous diffused layer 101 at a constant value equivalent to the stoichiometric. This enables the rich gas to be measured accurately, thus resulting in an increase in measurable range of the gas concentration sensor 100 and also results in greatly improved response rate of the gas concentration sensor 100 when the gas returns from the rich to lean side.

[0102] The present invention may be used with an air-fuel ratio (A/F) sensor designed to measure the concentration of O₂ contained in exhaust gasses of an internal combustion engine for determining an air-fuel ratio of a mixture supplied to the engine. As such an A/F sensor, a cup-shaped A/F sensor in which a solid electrolyte body and a diffused resistance layer are cup-shaped and a laminated A/F sensor made of a lamination of a solid electrolyte plate and a diffused resistance layer are known. When the air-fuel ratio is 12 to 18, the laminated A/F sensor outputs a current signal of as little as −0.75 to 0.4 mA, but the structure of this invention reduces addition of electric noises to an output of the laminated A/F sensor sufficiently.

[0103] The present invention may also be used with three-cell or four-cell gas concentration sensors which are known in the art.

[0104] The present invention may further be used with a gas concentration sensor which is designed to decompose and discharge O₂ contained in gasses to be measured through a pump cell and decompose HC and/or CO contained in the gasses after the decomposition of O₂ through a sensor cell for determining the concentration of O₂ and the concentration of HC and/or CO. 

What is claimed is:
 1. A gas concentration measuring apparatus comprising: a gas concentration sensor outputting a signal as a function of concentration of a given component of gasses; a signal processing circuit processing the signal outputted from said gas concentration sensor to produce a voltage signal indicative of the concentration of the given component of the gasses; and a conductor electrically connecting said gas concentration sensor and said signal processing circuit for transmission of the signal, the conductor having a length which is determined as a function of a level of the signal outputted from said gas concentration sensor, the weaker the level of the signal, the shorter the length of said conductor.
 2. A gas concentration measuring apparatus as set forth in claim 1, further comprising a connector for connecting said gas concentration sensor with an external device, said connector having disposed therein said signal processing circuit.
 3. A gas concentration measuring apparatus as set forth in claim 1, further comprising an impedance measuring circuit measuring an impedance of a sensor element of said gas concentration sensor, said impedance measuring circuit being integrated in a single unit together with said signal processing circuit.
 4. A gas concentration measuring apparatus as set forth in claim 1, further comprising a heater which heats up a sensor element of said gas concentration sensor and a heater control circuit which controls a power supply to said heater, and wherein the heater control circuit is integrated in a single unit together with said signal processing circuit.
 5. A gas concentration measuring apparatus as set forth in claim 1, wherein the gas concentration measuring apparatus is mounted in a vehicle, and wherein the weaker the level of the signal is, the shorter a distance between said gas concentration sensor and said signal processing circuit.
 6. A gas concentration measuring apparatus as set forth in claim 1, wherein said gas concentration sensor includes a first cell responsive to application of a voltage to discharge oxygen contained in the gasses outside said gas concentration sensor, producing a first electric current as a function of concentration of the discharged oxygen and a second cell responsive to application of a voltage to produce a second electric current as a function of concentration of a specified gas component contained in the gasses from which the oxygen is discharged by the first cell.
 7. A gas concentration measuring apparatus as set forth in claim 1, wherein said signal processing circuit has a function of compensating for a unit-to-unit variation in characteristic of said gas concentration sensor.
 8. A gas concentration measuring apparatus as set forth in claim 7, wherein said signal processing circuit corrects an output characteristic of said gas concentration sensor so as to agree with a desired one.
 9. A gas concentration measuring apparatus as set forth in claim 3, wherein said impedance measuring circuit has a function of compensating for a unit-to-unit variation in characteristic of said gas concentration sensor.
 10. A gas concentration measuring apparatus as set forth in claim 9, wherein said impedance measuring circuit produces an impedance signal indicative of the impedance of the sensor element of said gas concentration sensor and corrects the impedance signal so as to eliminate a variation in the impedance signal caused by the unit-to-unit variation in characteristic of said gas concentration sensor.
 11. A gas concentration measuring apparatus as set forth in claim 4, wherein said heater control circuit connects with said heater through a power supply conductor for supplying the power to said heater, said heater control circuit having a function of minimizing an error component caused by a resistance value of the power supply conductor.
 12. A gas concentration measuring apparatus as set forth in claim 1, further comprising an impedance measuring circuit measuring an impedance of a sensor element of said gas concentration sensor, a heater heating up a sensor element of said gas concentration sensor, and a heater control circuit which controls a power supply to said heater, and wherein said signal processing circuit, said impedance measuring circuit, and said heater control circuit are formed on a bare chip mounted on a ceramic substrate.
 13. A gas concentration measuring apparatus comprising: a gas concentration sensor outputting a signal as a function of concentration of a given component of gasses; a signal processing circuit processing the signal outputted from said gas concentration sensor to provide a voltage signal indicative of the concentration of the given component of the gasses; and a connector having disposed therein said signal processing circuit, said connector having a first end coupled to said signal processing circuit and a second end providing electrical connection with an external device to transmit the voltage signal to said external device. 